getBoolean

fun getBoolean(key: Any, defaultVal: Boolean): Boolean

Get the boolean value associated with the given key. If there is no boolean value associated with the key, return the defaultVal.